package Level02;

public class Three {
    public static void main(String[] args) {
        String str = "192.168.105.27";
        String str1 = "8 22 40 65";
        String[] split = str.split("\\.");
        for (int i = 0; i < split.length; i++) {
            System.out.println(split[i]);
        }
        String[] split1 = str1.split("\\s+");
        for (int i = 0; i < split1.length; i++) {
            System.out.println(split1[i]);
        }
    }
}
